import request from '@/utils/request'

// 查询学生表1列表
export function listStudent1(query) {
  return request({
    url: '/system/student1/list',
    method: 'get',
    params: query
  })
}

// 查询学生表1详细
export function getStudent1(id) {
  return request({
    url: '/system/student1/' + id,
    method: 'get'
  })
}

// 新增学生表1
export function addStudent1(data) {
  return request({
    url: '/system/student1',
    method: 'post',
    data: data
  })
}

// 修改学生表1
export function updateStudent1(data) {
  return request({
    url: '/system/student1',
    method: 'put',
    data: data
  })
}

// 删除学生表1
export function delStudent1(id) {
  return request({
    url: '/system/student1/' + id,
    method: 'delete'
  })
}
